// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import request from './request'

/**
 * @description 云养 -- 列表
 */
export function cloudAdoptionListApi(data) {
  return request.get('/cloudAdoption/lst',data)
}

/**
 * @description 云养 -- 删除
 */
export function cloudAdoptionDeleteApi(id) {
  return request.delete('/cloudAdoption/delete/'+id)
}


/**
 * @description 云养记录 -- 显示状态修改
 */
export function cloudAdoptionShowApi(id,status) {
  return request.put('/cloudAdoption/cloudShow/'+id,{
    status
  })
}



/**
 * @description 云养 -- 审核
 */
export function cloudAdoptionStatusApi(id,data) {
  return request.put('/cloudAdoption/cloudStatus/'+id,data)
}




/**
 * @description 云养记录 -- 列表
 */
 export function cloudAdoptionRecordListApi(data) {
    return request.get('/cloudAdoption/cloudRecordList', data)
}


/**
 * @description 云养记录 -- 详情
 */
export function cloudAdoptionRecordDetailApi(id) {
  return request.get('/cloudAdoption/cloudRecordDetail/'+id)
}


/**
 * @description 云养记录 -- 日志
 */
export function cloudAdoptionRecordLoglApi(data) {
  return request.get('/cloudAdoption/cloudRecordLog',data)
}


/**
 * @description 商户列表 -- 列表
 */
export function merchantListApi(data) {
  return request.get('system/merchant/lst', data)
}
